package com.ruoyi.bus.domain;

import java.sql.Time;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 中途站对象 bus_way
 *
 * @author ruoyi
 * @date 2025-01-16
 */
public class BusWay extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 途经点ID */
    private Long buswayID;

    /** bus外键 */
    @Excel(name = "bus外键")
    private Long busid;

    /** 途径地点 */
    @Excel(name = "途径地点")
    private String wayplace;

    /** 途径时间 */
    @JsonFormat(pattern = "hh:mm:ss")
    @Excel(name = "途径时间", width = 30, TimeFormat = "hh:mm:ss")
    private Time waytime;

    /** 途径价格 */
    @Excel(name = "途径价格")
    private Long waymoney;

    public void setBuswayID(Long buswayID)
    {
        this.buswayID = buswayID;
    }

    public Long getBuswayID()
    {
        return buswayID;
    }
    public void setBusid(Long busid)
    {
        this.busid = busid;
    }

    public Long getBusid()
    {
        return busid;
    }
    public void setWayplace(String wayplace)
    {
        this.wayplace = wayplace;
    }

    public String getWayplace()
    {
        return wayplace;
    }
    public void setWaytime(Time waytime)
    {
        this.waytime = waytime;
    }

    public Time getWaytime()
    {
        return waytime;
    }
    public void setWaymoney(Long waymoney)
    {
        this.waymoney = waymoney;
    }

    public Long getWaymoney()
    {
        return waymoney;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("buswayID", getBuswayID())
                .append("busid", getBusid())
                .append("wayplace", getWayplace())
                .append("waytime", getWaytime())
                .append("waymoney", getWaymoney())
                .toString();
    }
}
